package com.cn.pet.model.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class ItemTb {

    private Long id;

    private String title;

    private Long itemId;

    private String nick;

    private Long userid;

    private BigDecimal price;

    private BigDecimal pricewap;

    private String commentcount;

    private Integer act;

    private String location;

    private Byte isb2c;

    private String category;

    private Integer keywordId;

    private Date datetime;

    private String url;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick == null ? null : nick.trim();
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPricewap() {
        return pricewap;
    }

    public void setPricewap(BigDecimal pricewap) {
        this.pricewap = pricewap;
    }

    public String getCommentcount() {
        return commentcount;
    }

    public void setCommentcount(String commentcount) {
        this.commentcount = commentcount == null ? null : commentcount.trim();
    }

    public Integer getAct() {
        return act;
    }

    public void setAct(Integer act) {
        this.act = act;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Byte getIsb2c() {
        return isb2c;
    }

    public void setIsb2c(Byte isb2c) {
        this.isb2c = isb2c;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public Integer getKeywordId() {
        return keywordId;
    }

    public void setKeywordId(Integer keywordId) {
        this.keywordId = keywordId;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    @Override
    public String toString() {
        return "ItemTb{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", itemId=" + itemId +
                ", nick='" + nick + '\'' +
                ", userid=" + userid +
                ", price=" + price +
                ", pricewap=" + pricewap +
                ", commentcount='" + commentcount + '\'' +
                ", act=" + act +
                ", location='" + location + '\'' +
                ", isb2c=" + isb2c +
                ", category='" + category + '\'' +
                ", keywordId=" + keywordId +
                ", datetime=" + datetime +
                ", url='" + url + '\'' +
                '}';
    }
}